<?php

namespace app\api\service\ai;

use app\api\model\AiCompletionsDetail;
use think\Env;

class Deepseek extends Base
{

    protected $type = 'deepseek';

    protected $completionsUrl = 'https://api.deepseek.com/v1/chat/completions';

    public function completions(string $id, string $model, string $content, array $img = [], $deepThink = false, $webSearch = false): void
    {
        $apiKey = Env::get('deepseek.apikey');
        $this->completionsRequest($id, $content, $model, $apiKey);
    }
}

